<?php
return array(
    //'配置项'=>'配置值'
    'project_name' => 'TpForWechat',
    'appid' => 'wx7a4491012de1d96a',
    'appsecret' => '0ed0b6b1844e9be74f96c203a7e49cf7',
    'token' => 'wechat',
    'menu' => '
    {
     "button":[
     {	
          "type":"click",
          "name":"今日歌曲",
          "key":"V1001_TODAY_MUSIC"
      },
      {
           "name":"菜单",
           "sub_button":[
           {	
               "type":"view",
               "name":"注册导购",
               "url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7a4491012de1d96a&redirect_uri=http://39.106.52.132/TpForWechat/index.php/Home/UserAuth/register&response_type=code&scope=snsapi_base&state=800#wechat_redirect"
            },
            {
               "type":"view",
               "name":"视频",
               "url":"http://www.baidu.com/"
            },
            {
               "type":"click",
               "name":"赞一下我们",
               "key":"V1001_GOOD"
            },
            ]
       },
        {	
          "type":"view",
          "name":"注册导购",
          "url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7a4491012de1d96a&redirect_uri=http://39.106.52.132/TpForWechat/index.php/Home/UserAuth/register&response_type=code&scope=snsapi_base&state=800#wechat_redirect"
         },
       ]
    }',
    'url_menu' => 'https://api.weixin.qq.com/cgi-bin/menu/create?access_token=',
    'url_access_token' => 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=',
    'url_send_template' => 'https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=',
    'sale_template_id' => 'xaTvYqo5YPZsMBMWoKT4cA1hMSRp9NdUcgkP68TUIkc',
    'auth_template_id' => 'QgOjOmk4MpJ06fZLY3s7FHG1SuZ87_4YHvTiFskBIWM',
    'media_id' => 'https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=',
    'url_wx_res_list' => 'https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=',
);